package br.com.strings_serializacao;

import java.io.Console;

public class ExemploConsole {
	public static void main(String[] args) {
		Console c = System.console();
		char [] pass;
		pass = c.readPassword("%s","Pass");
		for(char p : pass){
			c.format("%c", p);
		}
	}
}
